<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');
/************************************************************************************/
$config = array();
/************************************************************************************/
$config['domain']		= "www.ppuying.".(isset($_SERVER['HTTP_HOST']) ? substr($_SERVER['HTTP_HOST'], -3) : "dev");
$config['file']			= str_replace("www.", "file.", $config['domain']);
$config['development']	= true;
$config['theme']		= "default";
$config['timezone']		= 'Asia/Seoul';
$config['index_app']	= 'main';
$config['parking']		= true;
/************************************************************************************/
$config['db']	= array();
$config['db']['host']		= 'localhost';
$config['db']['database']	= 'ppuying';
$config['db']['userid']		= 'ppuying';
$config['db']['password']	= 'dbpa55w0rd';
$config['db']['debug']		= false;
$config['db']['prefix']		= '';
/************************************************************************************/
if(isset($_SERVER['SERVER_SOFTWARE']) && substr($_SERVER['SERVER_SOFTWARE'], 0, 5) == 'nginx')
{
	$config['db']['host']	= '127.0.0.1';	
}